#ifndef INTERSECTRESULT_H
#define INTERSECTRESULT_H
#include "gvector3.h"
//#include "cobject.h"
//利用前置声明解决循环包含问题
class CObject;
struct IntersectResult{
    CObject* object;
    float distance;
    bool isHit;
    GVector3 position;
    GVector3 normal;
    static inline IntersectResult noHit() { return IntersectResult(); }
};

#endif // INTERSECTRESULT_H_INCLUDED
